//
//  FQDMySubscriptionEmptyView.h
//  FakeQDaily
//
//  Created by mewxiv on 9/20/16.
//  Copyright © 2016 Xensius. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, FQDMySubscriptionEmptyViewType) {
    FQDMySubscriptionEmptyViewTypeNotLogined,
    FQDMySubscriptionEmptyViewTypeNotSubscribed,
};

typedef void(^FQDEmptyViewActionBlock)(FQDMySubscriptionEmptyViewType type);

@class FQDMySubscriptionEmptyView;

@protocol FQDMySubscriptionEmptyViewDelegate <NSObject>

- (void)didSelectActionButtonInEmptyView:(FQDMySubscriptionEmptyView *)emptyView;

@end

@interface FQDMySubscriptionEmptyView : UIView

@property (nonatomic, assign) FQDMySubscriptionEmptyViewType type;
@property (nonatomic, weak) id<FQDMySubscriptionEmptyViewDelegate> delegate;
@property (nonatomic, strong) UIButton *actionButton;

@end
